﻿using System;
using Ue.CQRS.Events;

namespace Ue.CQRS.Repositories
{
    public interface IEventRepository
    {
        void Add(params IEvent[] events);

        void Find(string aggregateRootId, long minVersion, long maxVersion);
    }
}
